import lazyLoad from "@/hooks/lazyLoad";
import React from "react";
import Layout from "antd/es/layout/layout";

const Home=[
    {
        element:<Layout/>,
        children:[
            {
                path:'sys/home/list',
                element:lazyLoad(React.lazy(()=>import('@/pages/home/modules/list/list'))),
            },
            {
                path:'sys/home/add',
                element:lazyLoad(React.lazy(()=>import('@/pages/home/modules/add/add'))),
            }
        ]
    }
]
export default Home